package com.example.teesystem.mapper;

import com.example.teesystem.entity.Library;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
* @author 12510
* @description 针对表【t_library】的数据库操作Mapper
* @createDate 2022-04-26 09:12:49
* @Entity com.example.teesystem.entity.Library
*/
@Mapper
public interface LibraryMapper extends BaseMapper<Library> {
    @Update("update t_library set is_delete = 1 where id = #{id}")
    void delete(int id);
}




